package io.renren.modules.jxgk.dao;

import io.renren.modules.jxgk.entity.ElectiveCourseEntity;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ElectiveCourseDao extends BaseDao<ElectiveCourseEntity>{
    String queryUserId(String username);
    void insertUserRole(@Param("userId")String userId,@Param("roleId")String roleId);

    List<String> queryUserRoleId(String username);
}
